-
-
Notifications
You must be signed in to change notification settings - Fork 647
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Breadcrumbs Refactor #4858
Breadcrumbs Refactor #4858
Conversation
✅ Deploy Preview for volto canceled.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please see my comments. Thank you!
…into breadcrumbs-refactor
…into breadcrumbs-refactor
import { getBreadcrumbs } from '@plone/volto/actions'; | ||
import { getBaseUrl, hasApiExpander } from '@plone/volto/helpers'; | ||
|
||
import { useBreadcrumbs } from '@plone/volto/hooks/breadcrumbs/useBreadcrumbs'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can export this in https://github.com/plone/volto/blob/master/src/hooks/index.js
and then directly import from @plone/volto/hooks
…into breadcrumbs-refactor
…into breadcrumbs-refactor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Tishasoumya-02 Looks good, let's get this merged!
@nileshgulia1 If you're happy, give Victor a ping and LGTM.
#4460